package com.han.school.service;

import com.github.pagehelper.PageInfo;
import com.han.school.pojo.Book;
import com.han.school.pojo.Iron;
import com.han.school.vo.BookVo;

import java.util.List;

public interface IronService {
    Integer addiron(String name);

    List<Iron> select();

    Integer addbook(Book book);

    Integer upcheck(BookVo bookVo);

    Integer upcheck1(BookVo bookVo);

    Integer delss(BookVo bookVo);

   PageInfo<BookVo> seletall(BookVo bookVo);

    Integer updatebook(BookVo bookVo);

    Integer deletebook(Book book);
}
